package com.librarysys.dao;

import com.librarysys.entity.Bookcase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookcaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Bookcase record);

    int insertSelective(Bookcase record);

    Bookcase selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Bookcase record);

    int updateByPrimaryKey(Bookcase record);

    List<Bookcase> selectAll();

    Bookcase selectByName(String name);

}